home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 July: Mac OS SDK / Dev.CD Jul 96 SDK / Dev.CD Jul 96 SDK2.toast / Development Kits (Disc 2) / QuickDraw GX / Programming Stuff / Sample Code / Printing Samples / Printer Drivers… / Generic LW "30 sec Alert" / Generic LaserWriter.make < prev    next >
Encoding:
Text File  |  1995-04-10  |  4.0 KB  |  108 lines  |  [TEXT/MPS ]

  1. #
  2. # FILE
  3. #     Generic LaserWriter.make
  4. #
  5. # This is the make file for a generic LaserWriter driver.
  6. #
  7. # © 1991-1994 Apple Computer Inc.
  8. #
  9. #   8/28/94        dmh                            Finalized for SDK.
  10. #  12/18/93        dmh                            Made non-IIg-specific for the b3 seed.
  11. #  09/13/93        dmh                            Updated for the b2 seed.
  12. #  04/26/93        dmh                            Validated for the b1 seed.
  13. #  02/4/93        dmh                            Modified for the a5 seed.
  14. #  10/22/92        Duane Byram            Added changes for version control
  15. #  05/30/91                                        New Today
  16. #
  17.  
  18. #========== Directories Containing Source and Object Files ==========
  19.  
  20. ObjectsDir        =    :Objects:
  21. TargetsDir        = 
  22. SourcesDir        =    
  23.  
  24. #========== File names, etc. ==========
  25.  
  26. ChooserFile        = ChooserSupport
  27. DriverName      = Generic LaserWriter
  28.  
  29. kCreator            = 'scL2'
  30.  
  31. #========== Compiler Options ==========
  32.  
  33. AsmOptions            =        -case obj
  34. RezOptions            =        -i {RIncludes} -a
  35. CompileOptions    =        -b2 -d applec -i {CIncludes}
  36.  
  37. #======================================
  38.  
  39. "{ObjectsDir}{DriverName}.c.o"        ƒ    "{SourcesDir}{DriverName}.c"                ∂
  40.                                                                         "{SourcesDir}{DriverName}.make"
  41.         C {CompileOptions} "{SourcesDir}{DriverName}.c" -o "{ObjectsDir}{DriverName}.c.o"
  42.  
  43. "{ObjectsDir}{ChooserFile}.c.o"        ƒ    "{SourcesDir}{ChooserFile}.c"                ∂
  44.                                                                         "{SourcesDir}{DriverName}.make"
  45.         C {CompileOptions} "{SourcesDir}{ChooserFile}.c" -o "{ObjectsDir}{ChooserFile}.c.o"
  46.     
  47. "{ObjectsDir}{DriverName}.a.o"        ƒ    "{SourcesDir}{DriverName}.a"                ∂
  48.                                                                         "{SourcesDir}{DriverName}.make"
  49.         Asm {AsmOptions} "{SourcesDir}{DriverName}.a" -o "{ObjectsDir}{DriverName}.a.o"
  50.  
  51. "{ObjectsDir}{ChooserFile}.a.o"        ƒ    "{SourcesDir}{ChooserFile}.a"                ∂
  52.                                                                         "{SourcesDir}{DriverName}.make"
  53.         Asm {AsmOptions} "{SourcesDir}{ChooserFile}.a" -o "{ObjectsDir}{ChooserFile}.a.o"
  54.  
  55. "{TargetsDir}{DriverName}"            ƒƒ    "{SourcesDir}{DriverName}.r"                ∂
  56.                                                                         "{SourcesDir}{DriverName}.make"
  57.         Rez {RezOptions}                                                                                                         ∂
  58.                 "{SourcesDir}{DriverName}.r"                                                                        ∂
  59.                 -o "{TargetsDir}{DriverName}"
  60.         SetFile -a Bi "{TargetsDir}{DriverName}"
  61.  
  62. "{TargetsDir}{DriverName}"            ƒƒ    "{SourcesDir}{ChooserFile}.r"                ∂
  63.                                                                         "{SourcesDir}{DriverName}.make"
  64.         Rez {RezOptions}                                                                                                        ∂
  65.                 "{SourcesDir}{ChooserFile}.r"                                                                        ∂
  66.                 -o "{TargetsDir}{DriverName}"
  67.  
  68. "{TargetsDir}{DriverName}"            ƒƒ    "{ObjectsDir}{DriverName}.a.o"            ∂
  69.                                                                         "{ObjectsDir}{DriverName}.c.o"            ∂
  70.                                                                         "{SourcesDir}{DriverName}.make"
  71.     Link        -t 'pdvr'                                                                                                            ∂
  72.                     -c {kCreator}                                                                                                    ∂
  73.                     -ra =resSysHeap,resPurgeable                                                                    ∂
  74.                     -rt pdvr=0                                                                                                        ∂
  75.                     -sg "{DriverName}"                                                                                        ∂
  76.                     -m DriverJumpTable                                                                                        ∂
  77.                     "{ObjectsDir}{DriverName}.a.o"                                                                ∂
  78.                     "{ObjectsDir}{DriverName}.c.o"                                                                ∂
  79.                     "{Libraries}Interface.o"                                                                            ∂
  80.                     "{Libraries}Runtime.o"                                                                                ∂
  81.                     -o "{TargetsDir}{DriverName}"
  82.  
  83. "{TargetsDir}{DriverName}"            ƒƒ    "{ObjectsDir}{ChooserFile}.a.o"            ∂
  84.                                                                         "{ObjectsDir}{ChooserFile}.c.o"            ∂
  85.                                                                         "{SourcesDir}{DriverName}.make"
  86.     Link                                                                                                                                     ∂
  87.                     "{ObjectsDir}{ChooserFile}.a.o"                                                                ∂
  88.                     "{ObjectsDir}{ChooserFile}.c.o"                                                                ∂
  89.                     -ra =resSysHeap,resPurgeable                                                                    ∂
  90.                     -rt PACK=-4096                                                                                                ∂
  91.                     -sg PrintingPACK                                                                                            ∂
  92.                     -m EntryPoint                                                                                                    ∂
  93.                     -o "{TargetsDir}{DriverName}"
  94.  
  95. "{TargetsDir}{DriverName}"            ƒƒ    "{ObjectsDir}{ChooserFile}.a.o"            ∂
  96.                                                                         "{ObjectsDir}{ChooserFile}.c.o"            ∂
  97.                                                                         "{SourcesDir}{DriverName}.make"
  98.     Link                                                                                                                                     ∂
  99.                     "{ObjectsDir}{ChooserFile}.c.o"                                                                ∂
  100.                     "{Libraries}Interface.o"                                                                            ∂
  101.                     -ra =resSysHeap,resPurgeable                                                                    ∂
  102.                     -rt LDEF=-4096                                                                                                ∂
  103.                     -sg LDEF                                                                                                            ∂
  104.                     -m LDEF                                                                                                                ∂
  105.                     -w                                                                                                                        ∂
  106.                     -o "{TargetsDir}{DriverName}"
  107.  
  108.